<template>
	<view class="container">
		<view class="status_bar">
			
		</view>
		<!-- 这里是状态栏 -->
		<button @click="exit">退出登陆</button>
		<Slider></Slider>
		首页
	</view>
</template>

<script>
	import storage from "@/utils/storage.js"
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			exit(){
				storage.remove("user_token")
				uni.navigateTo({
					url:"/pages/Login/Login"
				})
			}
		}
	}
</script>

<style lang="scss">
	
	.container {
		font-size: 14px;
		line-height: 24px;
		/* #ifdef APP-PLUS || H5 || MP-WEIXIN */
		.status_bar {
			height: var(--status-bar-height);
			width: 100%;
		}
		/* #endif */
	}
</style>
